package com.dubbo.user.dao;

import com.dubbo.user.dto.request.UserAddRequest;
import com.dubbo.user.dto.response.UserAddResponse;
import org.springframework.stereotype.Component;

/**
 * @author dongdingzhuo
 * @description 添加用户
 */
@Component
public class UserDao {

    public UserAddResponse userAdd(UserAddRequest request){
        return UserAddResponse.builder().username(request.getUsername()).build();
    }

}
